package b.h.y.bj.domain;

import java.util.ArrayList;

/**
 * 网络分类信息
 * Created by YHB on 2016/1/4.
 */
public class NewsData {

    public int retcode;

    public ArrayList<NewsMenuData> data;

    /**
     * 侧边栏的数据对象
     */
    public class NewsMenuData {

        public String id;

        public String title;

        public int type;

        public String url;

        public ArrayList<NewsTabData> children;

        @Override
        public String toString() {
            return "NewsMenuData{" +
                    "children=" + children +
                    ", id='" + id + '\'' +
                    ", title='" + title + '\'' +
                    ", type=" + type +
                    ", url='" + url + '\'' +
                    '}';
        }
    }

    /**
     * 新闻页面下11个子页签对象
     */
    public class NewsTabData {

        public String id;

        public String title;

        public int type;

        public String url;

        @Override
        public String toString() {
            return "NewsTabData{" +
                    "id='" + id + '\'' +
                    ", title='" + title + '\'' +
                    ", type=" + type +
                    ", url='" + url + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "NewsData{" +
                "data=" + data +
                ", retcode=" + retcode +
                '}';
    }
}
